package controllers

import (
	"fmt"
)

type TeacherController struct {
	BaseController
}

// 获取方法
func (c *TeacherController) Get() {
	c.Data["Website"] = "beego.me"
	c.Data["Email"] = "astaxie@gmail.com"
	c.TplName = "index.tpl"
}

// 保存方法
func (c *TeacherController) Post() {

	fmt.Printf("dddd")
}

// 修改方法
func (c *TeacherController) Put() {

}

// 删除方法
func (c *TeacherController) Delete() {

}
